import matplotlib
matplotlib.use("Agg")
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import warnings
warnings.filterwarnings("ignore")


def student(file_path):
    # ********* Begin *********#
    plt.figure(figsize=(10,10))
    tips = pd.read_csv(file_path)
    with sns.axes_style('white'):
        sns.factorplot("smoker", data=tips, kind="count",  color='steelblue')
    plt.savefig("Task2/img/T1.png")
    plt.show()

    # ********* End *********#